package com.san.report.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.san.base.domain.DictDO;
import com.san.base.domain.Tree;

@Service
public interface ReportRoleService{

	/**
	 * 角色拥有的指标ID
	 * 
	 * @param userId
	 * @return
	 */
	List<Long> dictList(Long deptId) throws Exception;

	/**
	 * 获取权限树
	 * 
	 * @param roleId
	 * @return
	 */
	Tree<DictDO> getTree(Long roleId) throws Exception;
	
	int doEdit(Object obj) throws Exception;

}
